using System;
using System.Collections.Generic;
using IBS.Model;

namespace IBS.ServiceContracts
{
    public interface IAutoPaymentService
    {
        AutoPayment CreateAutoPayment(int paymentId, string paymentDetail, string cardNumber, int dayOfMonth, decimal amount, string ISO);
        void DeleteAutoPayment(int autoPaymentId);
        void UpdateAutoPayment(AutoPayment autoPayment);
        IList<AutoPayment>  GetAutoPayments(Func<AutoPayment, bool> criteria = null, int?page = null );
        AutoPayment GetAutoPaymentById(int autoPaymentId);
    }
}